﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Vehicle
    {
        public string type;
        public Vehicle(string type)
        {
            this.type = type;
        }
        public Vehicle() { }
        public string Type { get => type; set => type = value; }
        public virtual void Air()
        {
            Console.WriteLine("类型：{0}",this.type);
        }
    }
}
